function TutorialSettings() {
  this.rightClickActivate = true;
  this.hoverActivate = false;
}

function PieceActions() {
  this.split = [false, false];
  this.swap = false;
}

function Tutorial() {
  this.enabled = false;
}

Tutorial.prototype.enable = function(e) {
  this.enabled = e;
}

Tutorial.prototype.getPieceActions = function(piece, game) {
  var pieceActions = game.getPieceActions(piece);
  var msg = "";
  if (pieceActions.split[HORIZONTAL] || pieceActions.split[VERTICAL]) {
    if (pieceActions.split[HORIZONTAL]) {
      msg  = "Split horizontal\n";
    }
    if (pieceActions.split[VERTICAL]) {
      msg += "Split vertical\n";
    }
  } else if (pieceActions.swap) {
    msg = "Swap\n";
  }
  if (msg) {
    alert (msg);
  }
}

